package com.syni.mdd.sjb.common.datatreaure.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.syni.mdd.sjb.common.component.mybatis.dxshapp.entity.DxshAppBanner;
import com.syni.mdd.sjb.common.datatreaure.entity.vo.rp.service.BannerRpVo;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lcc
 * @since 2020-04-26
 */
public interface DxshAppBannerService extends IService<DxshAppBanner> {

    //服务块
    int type = 0 ;

    //首页模块
    int INDEX_TYPE = 1;

    //渠道模块
    int CHANNEL_ALL_TYPE = 2;
    //我的门店广告banner
    int STORE_ADVERTISING_TYPE = 3;
    int CHANNEL_MIN_TYPE = 21;
    int CHANNEL_MDD_TYPE = 22;

    Map<String, Object> getBanner();

    List<BannerRpVo> bannerList(Integer type);


    List<DxshAppBanner> getIndexBanner();

}
